<script lang="ts" setup> 
import { onMounted, ref } from 'vue';
import { paramDecode } from '@/util/bussinessTool'
onMounted(() => {
   let params = paramDecode()
   console.log(params.id)
})
let loading = ref(false)
function onRefresh(){
    loading.value = true
    setTimeout(()=>{
        loading.value = false
    },2000)
}
</script>
<template>
    <van-pull-refresh v-model="loading" @refresh="onRefresh" style="min-height: 100vh;" >
           <div>ceshi</div>
    </van-pull-refresh>
</template>